package com.bsierp.business.pojo;

/**
 * ProductMaterial entity. @author MyEclipse Persistence Tools
 */

public class ProductMaterial implements java.io.Serializable {

    // Fields

    private Integer productMaterialId;
    private Material material;
    private Product product;
    private String productMaterialRemark;
    private Double productMaterialAmount;
    private Double productMaterialCostmoney;

    // Constructors

    /** default constructor */
    public ProductMaterial() {
    }

    /** full constructor */
    public ProductMaterial(Material material, Product product,
            String productMaterialRemark, Double productMaterialAmount,
            Double productMaterialCostmoney) {
        this.material = material;
        this.product = product;
        this.productMaterialRemark = productMaterialRemark;
        this.productMaterialAmount = productMaterialAmount;
        this.productMaterialCostmoney = productMaterialCostmoney;
    }

    // Property accessors

    public Integer getProductMaterialId() {
        return this.productMaterialId;
    }

    public void setProductMaterialId(Integer productMaterialId) {
        this.productMaterialId = productMaterialId;
    }

    public Material getMaterial() {
        return this.material;
    }

    public void setMaterial(Material material) {
        this.material = material;
    }

    public Product getProduct() {
        return this.product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public String getProductMaterialRemark() {
        return this.productMaterialRemark;
    }

    public void setProductMaterialRemark(String productMaterialRemark) {
        this.productMaterialRemark = productMaterialRemark;
    }

    public Double getProductMaterialAmount() {
        return this.productMaterialAmount;
    }

    public void setProductMaterialAmount(Double productMaterialAmount) {
        this.productMaterialAmount = productMaterialAmount;
    }

    public Double getProductMaterialCostmoney() {
        return this.productMaterialCostmoney;
    }

    public void setProductMaterialCostmoney(Double productMaterialCostmoney) {
        this.productMaterialCostmoney = productMaterialCostmoney;
    }

}